import { IFormItem } from '@/base-ui/form/index'
import { ITableItem } from '@/base-ui/table/index'
const formItems: IFormItem[] = [
  {
    field: 'keyword',
    type: 'input',
    label: '关键字',
    placeholder: '租户标识/名称',
  },
  {
    field: 'isActive',
    type: 'select',
    label: '是否启用',
    placeholder: '请选择',
    options: [
      {
        title: '启用',
        value: 'true',
      },
      {
        title: '未启用',
        value: 'false',
      },
    ],
  },
]
const tableItems: ITableItem[] = [
  {
    prop: 'tenancyName',
    label: '租户标识',
    minWidth: 180,
  },
  {
    prop: 'name',
    label: '名称',
    minWidth: 180,
  },
  {
    prop: 'isActive',
    label: '状态',
    minWidth: 180,
    slotName: 'status',
  },
  {
    prop: 'operation',
    label: '操作',
    minWidth: 180,
    slotName: 'operation',
  },
]

export { formItems, tableItems }
